import request from '@/utils/request';

//获取导航栏目录数据
export function getNavContent() {
    return request({
        url: '/category/bar',
        method: 'GET',
    }).then((data: any) => {
        return data.title_list;
    });
}

//获取Category路由表
export function getRouterMap() {
    return request({
        url: '/category/router',
        method: 'GET',
    });
}
